// 默认从pages开始查找
const routes = [
  {
    path: '/login',
    component: '../layouts/LoginLayout',
    routes: [
      {
        path: '/login',
        name: 'login',
        component: './Login',
        exact: true,
        title: '登录',
      },
    ],
  },
  {
    path: '/',
    component: '../layouts/BasicLayout',
    routes: [
      {
        path: '/videoCloudPortal',
        name: 'videoCloudPortal',
        component: './VideoCloudPortal',
        exact: true,
        title: '视频云门户',
      },
      {
        path: '/videoImageSupport',
        name: 'videoImageSupport',
        component: './VideoImageSupport',
        exact: true,
        title: '视频图像支撑',
      },
      {
        path: '/dataLink',
        name: 'dataLink',
        component: './DataLink',
        exact: true,
        title: '数据链路',
      },
      {
        component: './404',
      },
    ],
  },
  {
    component: './404',
  },
];

export default routes;
